﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200030B RID: 779
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkGetInfoScRsp : IMessage<ClockParkGetInfoScRsp>, IMessage, IEquatable<ClockParkGetInfoScRsp>, IDeepCloneable<ClockParkGetInfoScRsp>, IBufferMessage
	{
		// Token: 0x17000A06 RID: 2566
		// (get) Token: 0x060022BD RID: 8893 RVA: 0x00061CEF File Offset: 0x0005FEEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkGetInfoScRsp> Parser
		{
			get
			{
				return ClockParkGetInfoScRsp._parser;
			}
		}

		// Token: 0x17000A07 RID: 2567
		// (get) Token: 0x060022BE RID: 8894 RVA: 0x00061CF6 File Offset: 0x0005FEF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkGetInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A08 RID: 2568
		// (get) Token: 0x060022BF RID: 8895 RVA: 0x00061D08 File Offset: 0x0005FF08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkGetInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060022C0 RID: 8896 RVA: 0x00061D0F File Offset: 0x0005FF0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkGetInfoScRsp()
		{
		}

		// Token: 0x060022C1 RID: 8897 RVA: 0x00061D30 File Offset: 0x0005FF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkGetInfoScRsp(ClockParkGetInfoScRsp other) : this()
		{
			this.parkInfos_ = other.parkInfos_.Clone();
			this.cMAECALDMAN_ = other.cMAECALDMAN_.Clone();
			this.retcode_ = other.retcode_;
			this.progress_ = other.progress_;
			this.gJLJIOICNBE_ = other.gJLJIOICNBE_;
			this.kGHFABADCHE_ = other.kGHFABADCHE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060022C2 RID: 8898 RVA: 0x00061DA6 File Offset: 0x0005FFA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkGetInfoScRsp Clone()
		{
			return new ClockParkGetInfoScRsp(this);
		}

		// Token: 0x17000A09 RID: 2569
		// (get) Token: 0x060022C3 RID: 8899 RVA: 0x00061DAE File Offset: 0x0005FFAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ClockParkInfo> ParkInfos
		{
			get
			{
				return this.parkInfos_;
			}
		}

		// Token: 0x17000A0A RID: 2570
		// (get) Token: 0x060022C4 RID: 8900 RVA: 0x00061DB6 File Offset: 0x0005FFB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> CMAECALDMAN
		{
			get
			{
				return this.cMAECALDMAN_;
			}
		}

		// Token: 0x17000A0B RID: 2571
		// (get) Token: 0x060022C5 RID: 8901 RVA: 0x00061DBE File Offset: 0x0005FFBE
		// (set) Token: 0x060022C6 RID: 8902 RVA: 0x00061DC6 File Offset: 0x0005FFC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000A0C RID: 2572
		// (get) Token: 0x060022C7 RID: 8903 RVA: 0x00061DCF File Offset: 0x0005FFCF
		// (set) Token: 0x060022C8 RID: 8904 RVA: 0x00061DD7 File Offset: 0x0005FFD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x17000A0D RID: 2573
		// (get) Token: 0x060022C9 RID: 8905 RVA: 0x00061DE0 File Offset: 0x0005FFE0
		// (set) Token: 0x060022CA RID: 8906 RVA: 0x00061DE8 File Offset: 0x0005FFE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GJLJIOICNBE
		{
			get
			{
				return this.gJLJIOICNBE_;
			}
			set
			{
				this.gJLJIOICNBE_ = value;
			}
		}

		// Token: 0x17000A0E RID: 2574
		// (get) Token: 0x060022CB RID: 8907 RVA: 0x00061DF1 File Offset: 0x0005FFF1
		// (set) Token: 0x060022CC RID: 8908 RVA: 0x00061DF9 File Offset: 0x0005FFF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KGHFABADCHE
		{
			get
			{
				return this.kGHFABADCHE_;
			}
			set
			{
				this.kGHFABADCHE_ = value;
			}
		}

		// Token: 0x060022CD RID: 8909 RVA: 0x00061E02 File Offset: 0x00060002
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkGetInfoScRsp);
		}

		// Token: 0x060022CE RID: 8910 RVA: 0x00061E10 File Offset: 0x00060010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkGetInfoScRsp other)
		{
			return other != null && (other == this || (this.parkInfos_.Equals(other.parkInfos_) && this.cMAECALDMAN_.Equals(other.cMAECALDMAN_) && this.Retcode == other.Retcode && this.Progress == other.Progress && this.GJLJIOICNBE == other.GJLJIOICNBE && this.KGHFABADCHE == other.KGHFABADCHE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060022CF RID: 8911 RVA: 0x00061EA4 File Offset: 0x000600A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.parkInfos_.GetHashCode();
			num ^= this.cMAECALDMAN_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this.GJLJIOICNBE != 0U)
			{
				num ^= this.GJLJIOICNBE.GetHashCode();
			}
			if (this.KGHFABADCHE != 0U)
			{
				num ^= this.KGHFABADCHE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060022D0 RID: 8912 RVA: 0x00061F4A File Offset: 0x0006014A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060022D1 RID: 8913 RVA: 0x00061F52 File Offset: 0x00060152
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060022D2 RID: 8914 RVA: 0x00061F5C File Offset: 0x0006015C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Progress != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Progress);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.KGHFABADCHE != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.KGHFABADCHE);
			}
			this.parkInfos_.WriteTo(ref output, ClockParkGetInfoScRsp._repeated_parkInfos_codec);
			this.cMAECALDMAN_.WriteTo(ref output, ClockParkGetInfoScRsp._repeated_cMAECALDMAN_codec);
			if (this.GJLJIOICNBE != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.GJLJIOICNBE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060022D3 RID: 8915 RVA: 0x00062010 File Offset: 0x00060210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.parkInfos_.CalculateSize(ClockParkGetInfoScRsp._repeated_parkInfos_codec);
			num += this.cMAECALDMAN_.CalculateSize(ClockParkGetInfoScRsp._repeated_cMAECALDMAN_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this.GJLJIOICNBE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GJLJIOICNBE);
			}
			if (this.KGHFABADCHE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KGHFABADCHE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060022D4 RID: 8916 RVA: 0x000620BC File Offset: 0x000602BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkGetInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.parkInfos_.Add(other.parkInfos_);
			this.cMAECALDMAN_.Add(other.cMAECALDMAN_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			if (other.GJLJIOICNBE != 0U)
			{
				this.GJLJIOICNBE = other.GJLJIOICNBE;
			}
			if (other.KGHFABADCHE != 0U)
			{
				this.KGHFABADCHE = other.KGHFABADCHE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060022D5 RID: 8917 RVA: 0x00062156 File Offset: 0x00060356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060022D6 RID: 8918 RVA: 0x00062160 File Offset: 0x00060360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num > 80U)
				{
					if (num <= 96U)
					{
						if (num == 90U)
						{
							this.parkInfos_.AddEntriesFrom(ref input, ClockParkGetInfoScRsp._repeated_parkInfos_codec);
							continue;
						}
						if (num != 96U)
						{
							goto IL_35;
						}
					}
					else if (num != 98U)
					{
						if (num != 112U)
						{
							goto IL_35;
						}
						this.GJLJIOICNBE = input.ReadUInt32();
						continue;
					}
					this.cMAECALDMAN_.AddEntriesFrom(ref input, ClockParkGetInfoScRsp._repeated_cMAECALDMAN_codec);
					continue;
				}
				if (num == 8U)
				{
					this.Progress = input.ReadUInt32();
					continue;
				}
				if (num == 56U)
				{
					this.Retcode = input.ReadUInt32();
					continue;
				}
				if (num == 80U)
				{
					this.KGHFABADCHE = input.ReadUInt32();
					continue;
				}
				IL_35:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000E1A RID: 3610
		private static readonly MessageParser<ClockParkGetInfoScRsp> _parser = new MessageParser<ClockParkGetInfoScRsp>(() => new ClockParkGetInfoScRsp());

		// Token: 0x04000E1B RID: 3611
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E1C RID: 3612
		public const int ParkInfosFieldNumber = 11;

		// Token: 0x04000E1D RID: 3613
		private static readonly FieldCodec<ClockParkInfo> _repeated_parkInfos_codec = FieldCodec.ForMessage<ClockParkInfo>(90U, ClockParkInfo.Parser);

		// Token: 0x04000E1E RID: 3614
		private readonly RepeatedField<ClockParkInfo> parkInfos_ = new RepeatedField<ClockParkInfo>();

		// Token: 0x04000E1F RID: 3615
		public const int CMAECALDMANFieldNumber = 12;

		// Token: 0x04000E20 RID: 3616
		private static readonly FieldCodec<uint> _repeated_cMAECALDMAN_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04000E21 RID: 3617
		private readonly RepeatedField<uint> cMAECALDMAN_ = new RepeatedField<uint>();

		// Token: 0x04000E22 RID: 3618
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04000E23 RID: 3619
		private uint retcode_;

		// Token: 0x04000E24 RID: 3620
		public const int ProgressFieldNumber = 1;

		// Token: 0x04000E25 RID: 3621
		private uint progress_;

		// Token: 0x04000E26 RID: 3622
		public const int GJLJIOICNBEFieldNumber = 14;

		// Token: 0x04000E27 RID: 3623
		private uint gJLJIOICNBE_;

		// Token: 0x04000E28 RID: 3624
		public const int KGHFABADCHEFieldNumber = 10;

		// Token: 0x04000E29 RID: 3625
		private uint kGHFABADCHE_;
	}
}
